<template>
  <h1>EL-按钮组件</h1>
  <el-button type="primary" plain>蓝按钮</el-button>
  <el-button type="success" round>绿按钮</el-button>
  <el-button type="info" circle>灰按钮</el-button>
  <el-button type="danger" disabled>红按钮</el-button>
  <el-button type="warning">黄按钮</el-button>
  <el-button>白按钮</el-button>

  <hr>
  <!-- 链接按钮 -->
  <a href="https://www.baidu.com">
    <el-button link type="primary">达内</el-button>
  </a>

  <hr>
  <!-- 图标按钮[体验一下,下节课详细讲] -->
  <div>
    <el-button :icon="Search" circle />
    <el-button type="primary" :icon="Edit" circle />
    <el-button type="success" :icon="Check" circle />
    <el-button type="info" :icon="Message" circle />
    <el-button type="warning" :icon="Star" circle />
    <el-button type="danger" :icon="Delete" circle />
  </div>

</template>

<script setup>
  import {
    Check,
    Delete,
    Edit,
    Message,
    Search,
    Star,
  } from '@element-plus/icons-vue'
</script>

<style scoped>

</style>